package org.example.pet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pet.dto.AdoptionApplyInfoDTO;
import org.example.pet.dto.AdoptionInfoResponseDTO;
import org.example.pet.dto.AdoptionPageQueryDTO;
import org.example.pet.pojo.AdoptionApplication;
import org.example.pet.vo.PageVO;

public interface AdoptionApplicationService extends IService<AdoptionApplication> {
    //删除领养信息
    void delete(Long adoptionApplicationId);

    // 分页查询
    PageVO<AdoptionInfoResponseDTO> page(AdoptionPageQueryDTO adoptionPageQueryDTO);

    AdoptionApplyInfoDTO getAdoptionApplyDetail(Long applicationId);

    void editAdoptionStatus(AdoptionApplication adoptionApplication);

    Long getApplyIdByPetId(Long petId);

    boolean userIsAdoptingPet(Long userId, Long petId);
}
